import { request } from '../request.js'
const entrepot = {
	initData (params) {
	  return request({
	    method: 'Get',
	    url: '/api/order/front/appDepot/appDepotAfterSaleList',
	    params: params
	  })
	},
	detalis (params) {
	  return request({
	    method: 'Get',
	    url: '/api/order/front/appDepot/scanCodeGoodsDetil',/* TDOO daoz  */
	    params: params
	  })
	},
	scanCodeDetalis (params) {
	  return request({
	    method: 'Get',
	    url: '/api/order/front/appDepot/scanCodeGoodsDetil',
	    params: params
	  })
	},
	getDictByCode (params) {
	  return request({
	    method: 'Get',
	    url: '/api/cms/front/dict/getDictByCode',
	    params: params
	  })
	},
	accept (params) {
	  return request({
	    method: 'Get',
	    url: '/api/order/front/order/getOrder',
	    params: params
	  })
	},
	selectDefectiveProductList (params,obj) {
	  return request({
	    method: 'Get',
	    url: '/api/depot/front/defectiveProduct/selectDefectiveProductList/'+params,
		params:obj
	  })
	},
	goodsdetails (params) {
	  return request({
	    method: 'Get',
	    url: '/api/depot/front/defectiveProduct/selectDefectiveProductList/'+params
	  })
	}
	}
export default entrepot